<?php

use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\bootstrap\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Personinfo */


$this->params['breadcrumbs'][] = '账号信息';
?>
<div class="personinfo-view">
    <h4>账号信息</h4>

    <?= DetailView::widget([
        'model' => $infomodel,
        'attributes' => [
            'stu_id'=>[
            		'attribute'=>'stu_id',
            		'label'=>'学号'
            ],
            	'name',
        		'major_name',
        		'class_name',
        		'enroll_time',
        ],
    ]) ?>
    
    
    
<div class="familymember-model-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($pwdmodel, 'pwd')->passwordInput()->label('输入原密码') ?>

    <?= $form->field($pwdmodel, 'newpwd')->passwordInput()->label('输入新密码') ?>

    <?= $form->field($pwdmodel, 'renewpwd')->passwordInput()->label('新密码确认') ?>

    <div class="form-group">
        <?= Html::submitButton('修改密码', ['class' => 'btn btn-info']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
</div>
